package cn.xzc.job.cocurrent;

import java.util.concurrent.Callable;

/**
 * 异步线程监听执行器
 *
 * @author xzc
 * 当前时间 2024-02-12 21:30:00
 */
public interface AsyncListenableJobExecutor extends AsyncJobExecutor {
    ListenableFuture<?> submitListenable(Runnable job);

    <T> ListenableFuture<T> submitListenable(Callable<T> job);
}